package luigibros.window;

import javax.swing.*;

import java.awt.*;





class TaskPanel extends JPanel{



	/**
	 * 
	 */
	private static final long serialVersionUID = 879104845379017287L;
	private int xCoor, yCoor;
	private Image screen;
	Graphics g;



	public TaskPanel(int xCoord, int yCoord, Image s){
		xCoor = xCoord;
		yCoor = yCoord;
		screen = s;
	}



	public void paintComponent(Graphics g){

		super.paintComponent(g);
		
		g.drawImage(screen, xCoor, yCoor, this);
	}
}
